package MyFitnessPlate.DataSet;

public class ParsedFoodDataSet {
	private Integer category = null;
	private Integer	entry_id = null;
	private Integer	id 		 = null;
	private String	name 	 = null;
	private String	servings = null;
	private Integer	calories = null;
	
	public Integer getCategory() { return category; }
	public void setCategory(String category) {	this.category = Integer.parseInt(category); }
	
	public Integer getEntry_id() { return entry_id; }
	public void setEntry_id(String entry_id) {	this.entry_id = Integer.parseInt(entry_id);	}
	
	public Integer getId() { return id; }
	public void setId(String id) { this.id = Integer.parseInt(id);	}
	
	public String getName() { return name; }
	public void setName(String name) { this.name = name; }
	
	public String getServings() { return servings; }
	public void setServings(String servings) { this.servings = servings; }
	
	public Integer getCalories() { return calories; }
	public void setCalories(String calories) { this.calories = Integer.parseInt(calories); }
	
	public String toString() {
		String returnString = ""+name+"\n";
		returnString += "Servings: "+servings+"\n";
		returnString += "Calories: "+calories;
		return returnString;
	}
}